#!/bin/bash
gcc -c $1.c
gcc -O2 -bundle -undefined dynamic_lookup -o $1.so $1.o
#gcc -O2 -shared -I ~/Documents/workspace/skynet/3rd/lua -L ~/Documents/workspace/skynet/3rd/lua $1.c -o $1.so -llua
